import {request} from "../../utils/request";

/**
 * 登录csms并生成csms用户方法
 * @param username
 */
export function generateUser(username){
    return request({
        url:"/csms/generateUser",
        method:"GET",
        params:{username: username}
        // headers: window.localStorage.getItem("token")    // 获取token
    })
}

export function loadUser(username){
    return request({
        url:"/csms/loadUser",
        method:"GET",
        params:{username: username}
    })
}